package com.yang.provider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author ：YangRan
 * @date ：Created in 2021/11/24 11:02
 * @description：订单实体
 * @modified By：
 * @version: 1.0
 */
@Data
@TableName(value = "`order`")
public class Order  {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 下单用户id
     */
    private String userId;
    /**
     * 产品id
     */
    private Integer productId;

    private Date createTime;
    private Date updateTime;
}
